<template>
  <view class="index">
    <Tabbar></Tabbar>
  </view>
</template>
<script setup>
import Tabbar from "../../component/Tabbar";
import { onMounted } from "vue";
import { useTabbarStore } from "../../store";
import { storeToRefs } from "pinia";
const tabbarStore = useTabbarStore();
const { selected, tabbarHeight } = storeToRefs(tabbarStore);

onMounted(() => {
  tabbarStore.setSelected(1);
});
</script>

<!-- <script setup lang="ts">
import Tabbar from '../../component/Tabbar/index.vue'
</script> -->
<style lang="scss">
.index {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
</style>
